/**
 * 
 */
package info.niwota.frames;

import android.util.Log;
import android.view.KeyEvent;

/**
 * @author qiangli
 *
 */
public class PeerPhotoFrameActivity extends PhotoFrameActivity {

	private static final String TAG = "PeerPhotoFrameActivity";

	@Override
	public boolean onKeyDown(int keyCode, KeyEvent event) {
		if (Debug.DEBUG) {
			Log.d(TAG, "onKeyDown " + keyCode);
		}
		if (keyCode == KeyEvent.KEYCODE_BACK) {
			finish();
			return true;
		}
		return super.onKeyDown(keyCode, event);
	}

}
